package com.weixing.mall.provider.controller.sys;


import com.weixing.mall.base.wrapper.Result;
import com.weixing.mall.base.wrapper.ResultUtil;
import com.weixing.mall.provider.model.enums.ExcelDownLoadEnum;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 模板下载Api
 *
 * @author shanwei
 * @since v1
 */
@RestController
@RequestMapping("excelLoad")
public class ExcelDownLoadController{

    /**
     * 模板下载列表
     * @return 列表
     */
    @GetMapping("")
    public Result excelDownload(){
        return ResultUtil.success(ExcelDownLoadEnum.values());
    }
}
